From 7dc8eff950a11c718e9dade91060058453825c13 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 3 Jun 1993 03:48:37 +0000 Subject: [PATCH] (Electric-command-loop): Use eq to compare events. --- lisp/electric.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/electric.el b/lisp/electric.el index d0aa6f81dfc..39d690f5ff9 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -58,7 +58,7 @@ this-command (key-binding cmd) cmd this-command) (if (or (prog1 quit-flag (setq quit-flag nil)) - (= last-input-char ?\C-g)) + (eq last-input-char ?\C-g)) (progn (setq unread-command-events nil prefix-arg nil) ;; If it wasn't cancelling a prefix character, then quit. @@ -74,7 +74,7 @@ (progn (command-execute cmd) (setq last-command this-command) (if (or (prog1 quit-flag (setq quit-flag nil)) - (= last-input-char ?\C-g)) + (eq last-input-char ?\C-g)) (progn (setq unread-command-events nil) (if (not inhibit-quit) (progn (ding) -- 2.30.2